package cn.xiaopengstack.types.enums;

/**
 * @author jiangyangang
 * 命名规则：
 * 模块名:领域名:键值名:值1:值2:值...
 */

import lombok.AllArgsConstructor;
import lombok.Getter;
@Getter
@AllArgsConstructor
public enum RedisKeyEnum {
    trade_team_stock_key("group_buy_market:trade:team_stock_key:%s:%s", "交易领域库存抢占KEY"),
    trade_recover_team_stock_key("group_buy_market:trade:recover_team_stock_key:%s:%s", "交易领域库存抢占KEY"),
    settlement_task_lock("group_buy_market:settlement:notify_task_lock", "结算领域结算通知定时任务锁"),
    trade_order_progress_cache("group_buy_market:trade:group_buy_progress_cache:%s", "结算领域拼团进度缓存"),
    trade_order_cache("group_buy_market:trade:group_buy_order_cache:%s", "结算领域拼团组队订单缓存"),
    trade_reentry_lock("group_buy_market:trade:order_reentry_lock:%s", "结算防重入锁"),
    ;

    private final String key;

    private final String desc;
}
